package com.chuzhiyun.chengguoxy.feature.bean;

import java.util.List;

public class LeavelistBean {

    /**
     * count : 3
     * next : null
     * previous : null
     * results : [{"id":3,"start":"2021-12-27","end":"2021-12-27","approval":"pending","dateCreated":"2021-12-27T15:53:24.572312+08:00","lastModified":"2021-12-28T17:58:19.753752+08:00"},{"id":4,"start":"2021-12-27","end":"2021-12-27","approval":"pending","dateCreated":"2021-12-27T16:07:37.894340+08:00","lastModified":"2021-12-28T16:04:57.717068+08:00"},{"id":5,"start":"2022-01-11","end":"2022-01-11","approval":"","dateCreated":"2022-01-11T15:03:03.213586+08:00","lastModified":"2022-01-11T15:03:03.213610+08:00"}]
     */

    private Integer count;
    private Object next;
    private Object previous;
    private List<ResultsBean> results;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Object getNext() {
        return next;
    }

    public void setNext(Object next) {
        this.next = next;
    }

    public Object getPrevious() {
        return previous;
    }

    public void setPrevious(Object previous) {
        this.previous = previous;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * id : 3
         * start : 2021-12-27
         * end : 2021-12-27
         * approval : pending
         * dateCreated : 2021-12-27T15:53:24.572312+08:00
         * lastModified : 2021-12-28T17:58:19.753752+08:00
         */

        private Integer id;
        private String start;
        private String end;
        private String approval;
        private String dateCreated;
        private String lastModified;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getStart() {
            return start;
        }

        public void setStart(String start) {
            this.start = start;
        }

        public String getEnd() {
            return end;
        }

        public void setEnd(String end) {
            this.end = end;
        }

        public String getApproval() {
            return approval;
        }

        public void setApproval(String approval) {
            this.approval = approval;
        }

        public String getDateCreated() {
            return dateCreated;
        }

        public void setDateCreated(String dateCreated) {
            this.dateCreated = dateCreated;
        }

        public String getLastModified() {
            return lastModified;
        }

        public void setLastModified(String lastModified) {
            this.lastModified = lastModified;
        }
    }
}
